package com.vueblog.dao;

import com.vueblog.po.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDao {
    User findUserById(int id);

    User findByUsernameAndPwd(User user);

    User getAdminUser();

    int updateAdminUser(User user);

    int updateAdminViews(int adminId);
}
